#ifndef __WINDOW_ROOM_H_
#define __WINDOW_ROOM_H_

#include <gtk/gtk.h>

#include "gtk-whiteboard.h"

struct window_room_s {
	GtkWidget *window;
	GtkWidget *box_main, *box_contents, *box_sidebar, *box_top, *box_text, *box_chat,
			  *box_tools, *box_property;
	GtkWhiteboard *wb;
	GtkWidget *button_leave, *button_send;
	GtkWidget *entry_chat;
	GtkWidget *text_chat;
	GtkWidget *tab_side;
	GtkWidget *label_user;
	GtkWidget *scrolled_chat, *scrolled_toolbox;
	GtkWidget *view_toolbox;
	GtkListStore *list_toolbox;
	GtkWidget *button_tool_select, *button_tool_del, *button_tool_arrow;

	/* Generic properties for all shapes. */
	GtkWidget *label_property_text, *label_property_width, *label_property_height;
	GtkWidget *entry_property_text, *entry_property_width, *entry_property_height;

};

void
window_room_box_chat_init(struct window_room_s *window);

gboolean
window_room_view_toolbox_focused(GtkWidget *widget,
								 GtkDirectionType arg1,
								 gpointer data);

void
window_room_toolbox_init(struct window_room_s *window);

void
window_room_view_toolbox_selected(GtkTreeView *view,
								  GtkTreePath *path,
								  GtkTreeViewColumn *column,
								  gpointer data);

void
window_room_button_tool_del_clicked(GtkButton *button,
									   gpointer data);

void
window_room_button_tool_arrow_clicked(GtkButton *button,
									   gpointer data);

void
window_room_button_tool_select_toggled(GtkToggleButton *button,
									   gpointer data);


void
window_room_property_tab_init(struct window_room_s *window);

void
window_room_init();
#endif

